-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implemented QFP80 component #40
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
lib/qfp80.tsx
Outdated
@@ -0,0 +1,107 @@ | |||
import { ChipBody } from "./ChipBody"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the file name should just be qfp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure why you introduced a new file in the lib
dir
So they have a different body width |
lib/qfp.tsx
Outdated
@@ -3,7 +3,7 @@ import { SmdChipLead } from "./SmdChipLead"; | |||
|
|||
export const QFP = ({ | |||
pinCount, | |||
fullWidth = 10, | |||
fullWidth = pinCount === 80 ? 14 : 10, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm this is a hack, you should derive the width automatically, we shouldn't hard code width values
#39